package com.gk.panda.pojo.patrol.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author dubin
 * @create 2022-11-02 9:43
 */
@Data
public class ReportPageDTO {
    @ApiModelProperty(value = "巡护id")
    private Long patrolId;
    @ApiModelProperty(value = "事件id")
    private Long  reportId;
    /**
     * 总站机构
     */
    @ApiModelProperty(value = "所属机构")
    private String totalOrg;

    private List<String> orgIds;
    /**
     * 分站机构
     */
    private Integer orgId;


    @ApiModelProperty(value = "湿度")
    private String humidity;

    @ApiModelProperty(value = "温度")
    private String temperature;

    @ApiModelProperty(value = "海拔")
    private String elevation;

    @ApiModelProperty(value = "事件描述")
    private String description;

    @ApiModelProperty(value = "图片资源")
    private List<UrlDTO> picture;
    @ApiModelProperty(value = "视频资源")
    private List<UrlDTO> video;

    /**
     * 事件编号 CZSJ 2022 11 01 11 40  0001
     */
    @ApiModelProperty(value = "事件编号")
    private String reportNum;
    /**
     * 巡护id
     */
    @ApiModelProperty(value = "巡护编号")
    private String patrolNum;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private String createTime;

    /**
     * 巡护人员
     */
    private String people;

    /**
     * 其他人员
     */
    private String othersPeople;

    /**
     * 巡护人员
     */
    @ApiModelProperty(value = "巡护人员")
    private String join;
    /**
     * 巡护类型
     */
    private String patrolType;
    /**
     * 巡护类型描述
     */
    @ApiModelProperty(value = "巡护类型")
    private String patrolTypeDes;
    /**
     * 事件类型
     */

    private String reportType;

    /**
     * 事件类型描述
     */
    @ApiModelProperty(value = "事件类型")
    private String reportTypeDes;

    /**
     * 创建人
     */
    private String createBy;

}
